package com.warehouse.service;

import com.github.pagehelper.PageInfo;
import com.warehouse.dto.PageResult;
import com.warehouse.entity.ProType;

import java.util.List;

/**
 * @program: warehouse
 * @description:
 * @author: xiaojiu
 * @create: 2021-01-13 21:08
 */
public interface ProTypeService {

    PageResult<ProType> findAllProType(Integer currentPage, Integer pageSize, String sortName);

    ProType insertProType(ProType proType);

    boolean delProTypeByid(String id);

    boolean updateProType(ProType proType);
    /**
     * 查询产品的类型
     * @return
     */
    List<ProType> findProTyoeInfo();

    List<ProType> findProType(ProType proType);
}
